extends "Chess.gd"

var cards=[]
func _init():
	align=0
	
func loadData(data):
	.loadData(data)
	for cardNo in data.cards:
		var card=load("res://Model/Card.gd").new()
		card.loadData(CardData.getData(cardNo))
		card.bindUser(self)
		cards.append(card)
	